Learn R Programming

neuroim2 (version 0.8.5)

[,DenseNeuroVol,numeric,missing,ANY-method: Extract or replace parts of an object

Description

Extract or replace parts of an object

Usage

# S4 method for DenseNeuroVol,numeric,missing,ANY
[(x, i, j, k, ..., drop = TRUE)

# S4 method for DenseNeuroVol,integer,missing,ANY [(x, i, j, k, ..., drop = TRUE)

# S4 method for NeuroVol,ROIVol,missing,ANY [(x, i, j, k, ..., drop = TRUE)

# S4 method for DenseNeuroVol,ROIVol,missing,ANY [(x, i, j, k, ..., drop = TRUE)

# S4 method for ROIVol,numeric,missing,ANY [(x, i, j, ..., drop = TRUE)

# S4 method for ROIVol,logical,missing,ANY [(x, i, j, k, ..., drop = TRUE)

Value

A subset of the input object, with dimensions depending on the indexing and the `drop` parameter.

Arguments

x

The object to extract from

i

Index specifying elements to extract

j

Second index (if applicable)

k

Third index for 3D objects (if applicable)

...

Additional arguments passed to methods

drop

Whether to drop dimensions of length 1